/***********************************************************************
    filename:   DaterMainGroupMember.h
    created:    10/4/2012
    author:     4Ys

    purpose:    Defines class for MainCalendarDayWindow objects in UI
*************************************************************************/
#ifndef _DaterMainGroupMemberWindow_h_
#define _DaterMainGroupMemberWindow_h_

#include "DaterMainWindow.h"

#include<vector>
#include<string>
#include<deque>

class MainGroupMemberWindow : public MainWindow
{
	/* !
	\brief
		The Events in Day version.
	*/
public: 
		/* !
		\brief
			Construct the sample of class MainCalendarDayWindow.

		\param id_name
			- a string to represent the prefix of the window.
			
		\param parent
			- point to parent window.
		*/
	MainGroupMemberWindow(const CEGUI::String& id_name, CEGUI::Window* parent = 0);
	
		/* !
			Destructor of class MainCalendarDayWindow.
		*/
	~MainGroupMemberWindow();

		/* !
		\brief
			a virtual function generated from class MainCalendarWindow to show window.
		*/
	virtual void showWindow();
	
		/* !
		\brief
			a virtual function generated from class MainCalendarWindow to hide window.
		*/
	virtual void hideWindow();

private:

	void subscribeEvents();

	//bool MouseWheel(const CEGUI::EventArgs& args);

	bool MouseClick(const CEGUI::EventArgs& args);

	void refreshEvent();


};

#endif